Formal grammars Lectures ??–??. Linear grammars and trellis automata

نویسنده

  • Alexander Okhotin
چکیده

The linear case of context-free, conjunctive and Boolean grammars. Trellis automata. Examples. Equivalence of grammars and automata. 1 Linear Boolean grammars Definition 1. A Boolean grammar G = (Σ, N, P, S) is said to be linear if every rule A→ α1& . . .&αm&¬β1& . . .&¬βn, has αi, βj ∈ Σ∗ ∪ (Σ ∪N)∗. If a linear Boolean grammar is conjunctive (context-free), it is called a linear conjunctive (linear context-free) grammar. The following normal form similar to the binary normal form can be defined for linear Boolean grammars. Definition 2. A linear Boolean grammar G = (Σ, N, P, S) is said to be in the linear normal form if every rule in P is of the form A→ bB1& . . . bBm&C1c& . . .&Cnc&¬bD1& . . .&¬bDk& &¬E1c& . . .&¬E`c (m,n, k, ` > 0; m+ n > 1), A→ a S → ε (only if S does not appear in right hand sides of rules) Theorem 1. For every linear Boolean grammar there exists a linear Boolean grammar in the linear normal form generating the same language. If the grammar is linear conjunctive (linear context-free), then so is the resulting grammar in the linear normal form. The construction is basically the same as used to transform a Boolean grammar to the binary normal form. Note that the given methods for eliminating ε conjuncts and unit conjuncts preserve linearity of a grammar. Motivation for TA: consider the basic cubic-time recognition algorithm for linear Boolean grammars, etc., etc.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Input-driven languages are linear conjunctive

Linear conjunctive grammars define the same family of languages as one-way real-time cellular automata (A. Okhotin, “On the equivalence of linear conjunctive grammars to trellis automata”, RAIRO ITA, 2004), and this family is known to be incomparable with the context-free languages (V. Terrier, “On real-time one-way cellular array”, Theoret. Comput. Sci., 1995). This paper demonstrates the cont...

متن کامل

Homomorphisms Preserving Trellis Languages

It is proved that a homomorphism h preserves the class of languages recognized by trellis automata augmented with the capacity of handling the empty string (or, equivalently, generated by linear conjunctive grammars) if and only if either h is injective, or h maps every symbol to the empty string. The transformation is effective in the former case and cannot be effectively done in the latter.

متن کامل

Linear Grammars with One-Sided Contexts and Their Automaton Representation

The paper considers a family of formal grammars that extends linear context-free grammars with an operator for referring to the left context of a substring being defined, as well as with a conjunction operation (as in linear conjunctive grammars). These grammars are proved to be computationally equivalent to an extension of one-way real-time cellular automata with an extra data channel. The mai...

متن کامل

Representing a P-complete problem by small trellis automata

A restricted case of the Circuit Value Problem known as the Sequential NOR Circuit Value Problem was recently used to obtain very succinct examples of conjunctive grammars, Boolean grammars and language equations representing P-complete languages (Okhotin, “A simple P-complete problem and its representations by language equations”, MCU 2007). In this paper, a new encoding of the same problem is...

متن کامل

A tree-trellis n-best decoder for stochastic context-free grammars

In this paper a decoder for continuous speech recognition using stochastic context-free grammars is described. It forms the backbone of the ACE recognizer, which is a modular system for real-time speech recognition. A new rationale for automata is introduced, as well as a new model for pruning the search space.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009